/*
 * Lenovo Group
 * Copyright (c) 2015-2016 All Rights Reserved.
 * 
 * Project Name:itsm-gateway
 * Create Time: 2016年1月30日 下午2:20:52
 */
package com.lenovo.lmrp.server.itsmgateway.domain.metadata;

import com.lenovo.lmrp.api.model.entity.TicketSystemPO;

/**
 * 
 * @author wujin
 * @version v1.0
 */
public class TicketSystemBO {
    private TicketSystemPO po;
    
    public TicketSystemBO(TicketSystemPO po) {
        this.po = po;
    }
/*    
    public synchronized void changeStatus(TicketSystemStatus status) {
        TicketSystemStatus oldStatus = po.getStatus();
        try (ICommonDAO dao = ADaoFactory.getDefault().createDAO()) {
            dao.beginTrans();
            po.setStatus(status);
            dao.save(po);
            dao.endTrans();
        }
        catch (Exception exp) {
            po.setStatus(oldStatus);
        }
    }*/
}
